﻿using System.ComponentModel.DataAnnotations;
namespace SportMeetingPlanner.Models
{
    public class Sport
    {
        [Key]
        public int SportId { get; set; }
        [Required]
        public string Name { get; set; }
        [Required]
        [Range(1, 30)]
        public int MinPlayers { get; set; }
    }
}